import request from '@/utils/request'

const api_name = '/marketing/brandrecommend'

export default {

  getDataList(params) {
    return request({
      url: `${api_name}/page`,
      method: 'get',
      params: params
    })
  },

  deleteBrandRecomment(ids) {
    return request({
      url: `${api_name}/delete`,
      method: "post",
      data: ids
    })
  },
  
  updateRecommentStatus(brandrecomment) {
    return request({
        url: `${api_name}/status`,
        method: "post",
        data: brandrecomment
    })
  },

  createBrandRecomment(BrandRecomment) {
    return request({
      url: `${api_name}/create`,
      method: "get",
      params: BrandRecomment
    })
  },

  updateBrandRecomment(brandrecomment) {
    return request({
      url: `${api_name}/update`,
      method: "post",
      data: brandrecomment
    })
  },


}